package disPatcher;

import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
/**
 * @author： pang-yun
 * @date： 2021-11-26 17:43
 * 功能目的 ：用于
 */
public class Second extends HttpServlet {
    @Override
    protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
        System.out.println("第二次处理");
        RequestDispatcher requestDispatcher = req.getRequestDispatcher("/disPatcher");
        requestDispatcher.forward(req,resp);
    }
}
